﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Administrators.master" AutoEventWireup="true" CodeFile="AdminDrug.aspx.cs" Inherits="AdminDrug" Theme="TextBox" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <span class="tr">
        <center>药 品 管 理</center>
    </span>
    <asp:GridView ID="GridView1" runat="server" AllowPaging="True" 
        AutoGenerateColumns="False" CaptionAlign="Bottom" CellPadding="4" 
        GridLines="None" HorizontalAlign="Center" 
        OnPageIndexChanging="GridView1_PageIndexChanging" 
        OnRowCancelingEdit="GridView1_RowCancelingEdit" 
        OnRowDataBound="GridView1_RowDataBound" OnRowDeleting="GridView1_RowDeleting" 
        OnRowEditing="GridView1_RowEditing" OnRowUpdating="GridView1_RowUpdating" 
        PageSize="15" ForeColor="#333333">
        <AlternatingRowStyle BackColor="White" Font-Size="Medium" />
        <Columns>
            <asp:TemplateField HeaderText="编号">
                <EditItemTemplate>
                    <asp:Label ID="Label10" runat="server" Text='<%# Bind("DrugID") %>'></asp:Label>
                </EditItemTemplate>
                <ItemTemplate>
                    <asp:Label ID="Label6" runat="server" Text='<%# Bind("DrugID") %>'></asp:Label>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="通用名">
                <EditItemTemplate>
                    <asp:TextBox ID="TxtComName" runat="server" Text='<%# Bind("ComName") %>' Width="100px"></asp:TextBox>
                </EditItemTemplate>
                <ItemTemplate>
                    <asp:Label ID="Label1" runat="server" Text='<%# Bind("ComName") %>'></asp:Label>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="商用名">
                <EditItemTemplate>
                    <asp:TextBox ID="TxtName" runat="server" Text='<%# Bind("Name") %>' Width="80px"></asp:TextBox>
                </EditItemTemplate>
                <ItemTemplate>
                    <asp:Label ID="Label2" runat="server" Text='<%# Bind("Name") %>'></asp:Label>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="价格">
                <EditItemTemplate>
                    <asp:TextBox ID="TxtPriceinfo" runat="server" Text='<%# Bind("Priceinfo") %>' Width="40px"></asp:TextBox>
                </EditItemTemplate>
                <ItemTemplate>
                    <asp:Label ID="Label3" runat="server" Text='<%# Bind("Priceinfo") %>'></asp:Label>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="规格">
                <EditItemTemplate>
                    <asp:TextBox ID="TxtSpec" runat="server" Text='<%# Bind("Spec") %>' Width="100px"></asp:TextBox>
                </EditItemTemplate>
                <ItemTemplate>
                    <asp:Label ID="Label4" runat="server" Text='<%# Bind("Spec") %>'></asp:Label>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="特殊管理">
                <EditItemTemplate>
                    <asp:TextBox ID="TxtIsspecialManage" runat="server" Text='<%# Bind("IsspecialManage") %>' Width="25px"></asp:TextBox>
                </EditItemTemplate>
                <ItemTemplate>
                    <asp:Label ID="Label7" runat="server" Text='<%# Bind("IsspecialManage") %>'></asp:Label>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="医保">
                <EditItemTemplate>
                    <asp:TextBox ID="TxtInsuranceType" runat="server" Text='<%# Bind("InsuranceType") %>' Width="35px"></asp:TextBox>
                </EditItemTemplate>
                <ItemTemplate>
                    <asp:Label ID="Label5" runat="server" Text='<%# Bind("InsuranceType") %>'></asp:Label>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="生产厂家">
                <EditItemTemplate>
                    <asp:TextBox ID="TxtProducearea" runat="server" Text='<%# Bind("Producearea") %>'></asp:TextBox>
                </EditItemTemplate>
                <ItemTemplate>
                    <asp:Label ID="Label8" runat="server" Text='<%# Bind("Producearea") %>'></asp:Label>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="批准文号">
                <EditItemTemplate>
                    <asp:TextBox ID="TxtAuthorizeSN" runat="server" Text='<%# Bind("AuthorizeSN") %>'></asp:TextBox>
                </EditItemTemplate>
                <ItemTemplate>
                    <asp:Label ID="Label9" runat="server" Text='<%# Bind("AuthorizeSN") %>'></asp:Label>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:CommandField ShowEditButton="True" />
            <asp:CommandField ShowDeleteButton="True" />
        </Columns>
        <EditRowStyle BackColor="#2461BF" />
        <FooterStyle BackColor="#507CD1" ForeColor="White" Font-Bold="True" />
        <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
        <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
        <RowStyle BackColor="#EFF3FB" />
        <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
        <SortedAscendingCellStyle BackColor="#F5F7FB" />
        <SortedAscendingHeaderStyle BackColor="#6D95E1" />
        <SortedDescendingCellStyle BackColor="#E9EBEF" />
        <SortedDescendingHeaderStyle BackColor="#4870BE" />
    </asp:GridView>
</asp:Content>

